#include "const.h"

void v_set_array(var_t v, size_t i, const char *value) {
	if (i >= v->array.n)
		return;

	if (v->array.members[i])
		i_delete((void *)v->array.members[i]);

	v->array.members[i] = value ? i_strdup(value) : (char *)0;
}
